package com.dinzeer.slashblade_project_slr.sa.slr001;

import com.dinzeer.legendreliclib.lib.util.slashblade.SlashBladeUtil;
import com.dinzeer.slashblade_project_slr.entity.TheHoleEntity;
import com.dinzeer.slashblade_project_slr.entity.TheSlashStringEntity;
import com.dinzeer.slashblade_project_slr.regsiter.SLREntityRegsitry;
import net.minecraft.world.entity.LivingEntity;

public class SLR001SA {
    public static void doSlash(LivingEntity entityIn){
        TheHoleEntity entity=new TheHoleEntity(SLREntityRegsitry.TheHole.get(), entityIn.level());
        entity.setPos(entityIn.getX(),
                entityIn.getY()+1,
                entityIn.getZ());
        entity.setLifeTime(200);
        entityIn.level().addFreshEntity(entity);
    }
}
